﻿@model Ja.Mvc.Acdf.Models.AcdfGuessBook

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" data-show="true">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title text-danger" id="myModalLabel">ACDF Guess Book</h4>
            </div>
            <div class="modal-body text-muted">
                @using (Html.BeginForm())
                {
                    @Html.AntiForgeryToken()
                    @Html.HiddenFor(model => model.UserId)
                    <div class="form-horizontal">
                        @Html.ValidationSummary(true)

                        <div class="form-group">
                            @Html.LabelFor(model => model.Message, new { @class = "control-label col-md-2" })
                            <div class="col-md-10">
                                @*@Html.EditorFor(model => model.Message)*@
                                @Html.TextAreaFor(model => model.Message, new { rows = "5", cols = "80" })
                                @Html.ValidationMessageFor(model => model.Message)
                            </div>
                        </div>

                        <div class="form-group">
                            @Html.LabelFor(model => model.AspNetUser.Pseudo, new { @class = "control-label col-md-2" })
                            <div class="col-md-10">
                                @*@Html.EditorFor(model => model.Date)*@
                                @Html.TextBoxFor(model => model.AspNetUser.UserName, new { @class = "form-control", @readonly = "readonly" })
                                @Html.ValidationMessageFor(model => model.AspNetUser.Pseudo)
                            </div>
                        </div>


                        <div class="form-group">
                            @Html.LabelFor(model => model.Date, new { @class = "control-label col-md-2" })
                            <div class="col-md-10">
                                @*@Html.EditorFor(model => model.Date)*@
                                @Html.TextBoxFor(model => model.Date, new { @class = "form-control", @readonly = "readonly" })
                                @Html.ValidationMessageFor(model => model.Date)
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-offset-2 col-md-10">
                                <input type="submit" value="Create" class="btn btn-default" />
                            </div>
                        </div>
                    </div>
                }

            </div>
            <div class="modal-footer">
                <h4>Anciens de Charles de Foucauld - CASABLANCA-MAROC</h4>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
